package com.teemor.blog.api;

import com.teemor.blog.bean.dto.input.iprecord.AddIprecordIPo;
import com.teemor.blog.bean.dto.input.iprecord.QryIprecordsIPo;
import com.teemor.blog.bean.dto.input.iprecord.UpdIprecordIPo;
import com.teemor.blog.bean.dto.output.BaseInfo;
import com.teemor.blog.bean.dto.output.iprecord.QryIprecordOPo;
import com.teemor.blog.bean.dto.output.iprecord.QryIprecordsOPo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author: zhoulk
 * @Description: 原子服务API接口
 * @date: 2020/03/19 20:59:38
 */
@Api(value = "原子服务API接口", description = "原子服务API接口")
@RequestMapping(value = "/common")
public interface IIprecordApiService {

     /** 
   * @Function: com.teemor.blog.service.IIprecordService.qryIprecords
   * @Description: 查询列表
   * @param: inParam
   * @return: List<QryIprecordsOPo>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/qryIprecords", method = RequestMethod.GET)
    @ApiOperation(value = "IIprecordApiService.qryIprecords", notes = "列表查询接口 - zhoulk")
    List<QryIprecordsOPo> qryIprecords(QryIprecordsIPo inParam);


     /** 
   * @Function: com.teemor.blog.service.IIprecordService.addIprecord
   * @Description: 新增接口
   * @param: inParam
   * @return: 
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "addIprecord", method = RequestMethod.POST)
    @ApiOperation(value = "IIprecordApiService.updIprecord", notes = "新增接口 - zhoulk")
    void addIprecord(@RequestBody AddIprecordIPo inParam);

    @RequestMapping(value = "baseInfo", method = RequestMethod.GET)
    @ApiOperation(value = "查询网站基本信息", notes = "查询网站基本信息")
    BaseInfo qryBaseInfo();
}